/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package mtbldomain.impl;

import mtbldomain.DocumentRoot;
import mtbldomain.MetricDescriptionType;
import mtbldomain.MetricResultsType;
import mtbldomain.MetricType;
import mtbldomain.MtblDomainFactory;
import mtbldomain.MtblDomainPackage;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

import org.eclipse.emf.ecore.xml.type.XMLTypePackage;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class MtblDomainPackageImpl extends EPackageImpl implements MtblDomainPackage {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass documentRootEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass metricDescriptionTypeEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass metricResultsTypeEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass metricTypeEClass = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see mtbldomain.MtblDomainPackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private MtblDomainPackageImpl() {
		super(eNS_URI, MtblDomainFactory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this
	 * model, and for any others upon which it depends.  Simple
	 * dependencies are satisfied by calling this method on all
	 * dependent packages before doing anything else.  This method drives
	 * initialization for interdependent packages directly, in parallel
	 * with this package, itself.
	 * <p>Of this package and its interdependencies, all packages which
	 * have not yet been registered by their URI values are first created
	 * and registered.  The packages are then initialized in two steps:
	 * meta-model objects for all of the packages are created before any
	 * are initialized, since one package's meta-model objects may refer to
	 * those of another.
	 * <p>Invocation of this method will not affect any packages that have
	 * already been initialized.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static MtblDomainPackage init() {
		if (isInited) return (MtblDomainPackage)EPackage.Registry.INSTANCE.getEPackage(MtblDomainPackage.eNS_URI);

		// Obtain or create and register package
		MtblDomainPackageImpl theMtblDomainPackage = (MtblDomainPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof MtblDomainPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new MtblDomainPackageImpl());

		isInited = true;

		// Initialize simple dependencies
		XMLTypePackage.eINSTANCE.eClass();

		// Create package meta-data objects
		theMtblDomainPackage.createPackageContents();

		// Initialize created meta-data
		theMtblDomainPackage.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theMtblDomainPackage.freeze();

		return theMtblDomainPackage;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getDocumentRoot() {
		return documentRootEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getDocumentRoot_Mixed() {
		return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getDocumentRoot_XMLNSPrefixMap() {
		return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getDocumentRoot_XSISchemaLocation() {
		return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getDocumentRoot_MetricResults() {
		return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getMetricDescriptionType() {
		return metricDescriptionTypeEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMetricDescriptionType_Metric() {
		return (EReference)metricDescriptionTypeEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMetricDescriptionType_MetricDescription() {
		return (EReference)metricDescriptionTypeEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_ContainerName() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_EndOffset() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_Fqname() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(4);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_Kind() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(5);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_Language() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(6);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_Line() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(7);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_Location() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(8);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_Name() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(9);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_Offset() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(10);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_ProjectName() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(11);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_Resource() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(12);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_ResourceName() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(13);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricDescriptionType_Timestamp() {
		return (EAttribute)metricDescriptionTypeEClass.getEStructuralFeatures().get(14);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getMetricResultsType() {
		return metricResultsTypeEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMetricResultsType_MetricDescription() {
		return (EReference)metricResultsTypeEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricResultsType_IsComparation() {
		return (EAttribute)metricResultsTypeEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getMetricType() {
		return metricTypeEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricType_Value() {
		return (EAttribute)metricTypeEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMetricType_Name() {
		return (EAttribute)metricTypeEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public MtblDomainFactory getMtblDomainFactory() {
		return (MtblDomainFactory)getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated) return;
		isCreated = true;

		// Create classes and their features
		documentRootEClass = createEClass(DOCUMENT_ROOT);
		createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
		createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
		createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
		createEReference(documentRootEClass, DOCUMENT_ROOT__METRIC_RESULTS);

		metricDescriptionTypeEClass = createEClass(METRIC_DESCRIPTION_TYPE);
		createEReference(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__METRIC);
		createEReference(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__METRIC_DESCRIPTION);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__CONTAINER_NAME);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__END_OFFSET);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__FQNAME);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__KIND);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__LANGUAGE);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__LINE);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__LOCATION);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__NAME);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__OFFSET);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__PROJECT_NAME);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__RESOURCE);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__RESOURCE_NAME);
		createEAttribute(metricDescriptionTypeEClass, METRIC_DESCRIPTION_TYPE__TIMESTAMP);

		metricResultsTypeEClass = createEClass(METRIC_RESULTS_TYPE);
		createEReference(metricResultsTypeEClass, METRIC_RESULTS_TYPE__METRIC_DESCRIPTION);
		createEAttribute(metricResultsTypeEClass, METRIC_RESULTS_TYPE__IS_COMPARATION);

		metricTypeEClass = createEClass(METRIC_TYPE);
		createEAttribute(metricTypeEClass, METRIC_TYPE__NAME);
		createEAttribute(metricTypeEClass, METRIC_TYPE__VALUE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized) return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Obtain other dependent packages
		XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);

		// Create type parameters

		// Set bounds for type parameters

		// Add supertypes to classes

		// Initialize classes and features; add operations and parameters
		initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getDocumentRoot_MetricResults(), this.getMetricResultsType(), null, "metricResults", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);

		initEClass(metricDescriptionTypeEClass, MetricDescriptionType.class, "MetricDescriptionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getMetricDescriptionType_Metric(), this.getMetricType(), null, "metric", null, 0, -1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getMetricDescriptionType_MetricDescription(), this.getMetricDescriptionType(), null, "metricDescription", null, 0, -1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_ContainerName(), theXMLTypePackage.getString(), "containerName", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_EndOffset(), theXMLTypePackage.getInt(), "endOffset", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_Fqname(), theXMLTypePackage.getString(), "fqname", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_Kind(), theXMLTypePackage.getInt(), "kind", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_Language(), theXMLTypePackage.getString(), "language", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_Line(), theXMLTypePackage.getInt(), "line", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_Location(), theXMLTypePackage.getString(), "location", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_Offset(), theXMLTypePackage.getInt(), "offset", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_ProjectName(), theXMLTypePackage.getString(), "projectName", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_Resource(), theXMLTypePackage.getString(), "resource", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_ResourceName(), theXMLTypePackage.getString(), "resourceName", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricDescriptionType_Timestamp(), theXMLTypePackage.getInt(), "timestamp", null, 0, 1, MetricDescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(metricResultsTypeEClass, MetricResultsType.class, "MetricResultsType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getMetricResultsType_MetricDescription(), this.getMetricDescriptionType(), null, "metricDescription", null, 0, -1, MetricResultsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricResultsType_IsComparation(), theXMLTypePackage.getString(), "isComparation", null, 0, 1, MetricResultsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(metricTypeEClass, MetricType.class, "MetricType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getMetricType_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, MetricType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMetricType_Value(), theXMLTypePackage.getDouble(), "value", null, 0, 1, MetricType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		// Create resource
		createResource(eNS_URI);

		// Create annotations
		// http:///org/eclipse/emf/ecore/util/ExtendedMetaData
		createExtendedMetaDataAnnotations();
	}

	/**
	 * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void createExtendedMetaDataAnnotations() {
		String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";		
		addAnnotation
		  (this, 
		   source, 
		   new String[] {
			 "qualified", "false"
		   });		
		addAnnotation
		  (documentRootEClass, 
		   source, 
		   new String[] {
			 "name", "",
			 "kind", "mixed"
		   });		
		addAnnotation
		  (getDocumentRoot_Mixed(), 
		   source, 
		   new String[] {
			 "kind", "elementWildcard",
			 "name", ":mixed"
		   });		
		addAnnotation
		  (getDocumentRoot_XMLNSPrefixMap(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "xmlns:prefix"
		   });		
		addAnnotation
		  (getDocumentRoot_XSISchemaLocation(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "xsi:schemaLocation"
		   });		
		addAnnotation
		  (getDocumentRoot_MetricResults(), 
		   source, 
		   new String[] {
			 "kind", "element",
			 "name", "MetricResults",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (metricDescriptionTypeEClass, 
		   source, 
		   new String[] {
			 "name", "MetricDescriptionType",
			 "kind", "elementOnly"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Metric(), 
		   source, 
		   new String[] {
			 "kind", "element",
			 "name", "Metric",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_MetricDescription(), 
		   source, 
		   new String[] {
			 "kind", "element",
			 "name", "MetricDescription",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_ContainerName(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "containerName",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_EndOffset(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "endOffset",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Fqname(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "fqname",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Kind(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "kind",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Language(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "language",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Line(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "line",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Location(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "location",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Name(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "name",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Offset(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "offset",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_ProjectName(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "projectName",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Resource(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "resource",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_ResourceName(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "resourceName",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricDescriptionType_Timestamp(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "timestamp",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (metricResultsTypeEClass, 
		   source, 
		   new String[] {
			 "name", "MetricResultsType",
			 "kind", "elementOnly"
		   });		
		addAnnotation
		  (getMetricResultsType_MetricDescription(), 
		   source, 
		   new String[] {
			 "kind", "element",
			 "name", "MetricDescription",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricResultsType_IsComparation(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "isComparation",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (metricTypeEClass, 
		   source, 
		   new String[] {
			 "name", "MetricType",
			 "kind", "simple"
		   });		
		addAnnotation
		  (getMetricType_Name(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "name",
			 "namespace", "##targetNamespace"
		   });		
		addAnnotation
		  (getMetricType_Value(), 
		   source, 
		   new String[] {
			 "kind", "attribute",
			 "name", "value",
			 "namespace", "##targetNamespace"
		   });
	}

} //MtblDomainPackageImpl
